<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title> Admin Login</title> 
        <style type="text/css">
		body {
			
			margin: 0;
			padding: 0;
			font-family: tahoma,geneva, arial, helvetica, sans-serif;
			font-size:80%;
                        color: #130707;
		}
	</style>
<!--        <h:outputStylesheet library="css" name="main.css"/>  
        <h:outputStylesheet library="css" name="responsive.css"/> 
        <h:outputStylesheet library="css" name="prettyPhoto.css"/> 
        <h:outputStylesheet library="css" name="animate.css"/>
        <h:outputStylesheet library="css" name="price-range.css"/>
        <h:outputStylesheet library="css" name="font-awesome.min.css"/>
        <h:outputStylesheet library="css" name="bootstrap.min.css"/>-->
    </h:head>
    <h:body>
        <div algin="center">
<!--                <h:form style="margin-top: 350px; padding-left: 150px; margin-left: 350px">
                     <h:panelGrid columns="2">
                     <h:outputLabel value="Tên đăng nhập"/>
                     <h:inputText value="#{loginController.userNameAgents}" />
                     <h:outputLabel value="Mật khẩu"/>
                     <h:inputSecret value="#{loginController.passAgents}" />
                     <h:outputLabel value="  "/>
                     <h:commandButton value="login" action="#{loginController.entrer()}" />
                     </h:panelGrid>
                 </h:form>-->
        <h:form style="margin-top: 350px; padding-left: 150px; margin-left: 350px">
            User Name:<h:inputText value="#{loginController.userNameAgents}"/><br/>
            Pass: <h:inputText value="#{loginController.passAgents}"/><br/>
            Full Name: <h:inputText value="#{loginController.nameAgents}"/><br/>
            <a href="home.xhtml"></a>
            Group: <h:inputText value="#{loginController.group}"/><br/> 
            Adress : <h:inputText value="#{loginController.addressAgents}"/><br/>
            Email: <h:inputText value="#{loginController.emailAgents}"/><br/>
            Mobile:<h:inputText value="#{loginController.mobileAgents}"/><br/>        
            <h:commandButton value="ajouter" action="#{loginController.ajouter}"/>
            <h:commandButton value="suprimer" action="#{loginController.suprimer}"/>
            <h:commandButton value="update" action="#{loginController.updateUser}"/>
            <h:commandButton value="login" action="#{loginController.entrer()}" />
        </h:form>
        </div>
    </h:body>
</html>

